package org.example.json;

import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.SneakyThrows;

public class JacksonTest {
  ObjectMapper mapper = new ObjectMapper();

  @SneakyThrows
  public String getRequestFromParam(String json) {
    Param job = mapper.readValue(json, Param.class);
    return job.getRequestId();
  }
}
